This file describes the replication package for "Adolescent Schooling and Adult Labor Supply: Evidence from COVID-19 School Closures and Reopenings in Kenya," by Pierre Biscaye, Dennis Egger, & Utz Pape, to be published in the World Bank Economic Review.

CONTENT
The replication package consists of three subfolders

Data: 
This folder contains the datasets required to run the code.
1) RRPS data
The RRPS data in Stata .dta format should be downloaded from https://microdata.worldbank.org/index.php/catalog/3774 (last accessed on 6/3/2025), extracted, and saved in $home/Data/KEN_2020_COVIDRS_v07_M_STATA14
2) dates.dta
This file contains the specific dates of surveys in the RRPS data, and was obtained directly from the team conducting the surveys.
3) time_series_covid19_confirmed_global.csv
This file contains data on COVID-19 confirmed cases over time globally, and was obtained from https://github.com/CSSEGISandData/COVID-19 on 6/1/2021. It is used to produce Figure A1.

Code: 
This folder contains 5 do files necessary to produce all of the tables and figures in the paper and online appendix
1) 1_Data Merge.do
This code uses the RRPS public data and the file with specific survey dates to prepare an initial individual-level panel dataset with selected variables. This code is called in 2_Merged Data Prep.do
2) 2_Merged Data Prep.do
This code calls 1_Data Merge.do and then creates the variables used in the analysis and saves a clean dataset indivs_merge.dta.
3) 3_Descriptive Exhibits.do 
This code creates descriptive figures and tables presented in the paper and the main appendix.
4) 4_Main Analysis.do
This code creates the main causally identified figures and tables presented in the paper.
5) 5_Supplementary Exhibits.do
This code creates the additional figures and tables presented in the online appendix.


Output: 
1) Tables is an empty folder to which output tables will be written
2) Graphs is an empty folder to which output figures will be written

HOW TO
To reproduce any of the results in the paper or online appendix.
1) Open 1_Data Merge.do, set the paths at the top of the file to your local paths
2) Open 2_Merged Data Prep.do, set the paths at the top of the file to your local paths, and run the do file to create the analysis data file.
3) Open the next relevant do file, set the path to your local path, and run the relevant do file sections to produce the desired figure or table.

Note: The Stata code requires several packages such as reghdfe which can be SSC installed in Stata before running the code.


